package com.jt.vo;

import com.jt.pojo.Item;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.util.List;
@Data
@Accessors(chain = true)
@NoArgsConstructor
@AllArgsConstructor
public class EasyUITable {
    /*{"total":2000,"rows":[
          {"code":"A","name":"果汁","price":"20"},
          {"code":"B","name":"汉堡","price":"30"},
          {"code":"C","name":"可乐","price":"50"}]
      }*/
    private Long total;//记录总数
    private List<Item> rows;//每一页展现的记录
}
